home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 11575 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: engnews2.Eng.Sun.COM!positive!linden
  2. From: linden@positive.eng.sun.com (Peter van der Linden)
  3. Newsgroups: comp.object,comp.lang.c++,comp.lang.java
  4. Subject: Re: Java: What's the Big Deal?
  5. Date: 15 Mar 1996 04:13:05 GMT
  6. Organization: Sun Microsystems Computer Corporation
  7. Message-ID: <4iaqoh$582@engnews2.Eng.Sun.COM>
  8. References: <4i40ik$9dt@news4.digex.net> <milodDo5yDE.H8B@netcom.com> <1996Mar14.124235.9729@friend.kastle.com> <4iane3$dr4@news4.digex.net>
  9. NNTP-Posting-Host: positive.eng.sun.com
  10. X-ORIGINAL-NEWSGROUPS: comp.object,comp.lang.c++,comp.lang.java
  11. Cc: 
  12.  
  13. In article <4iane3$dr4@news4.digex.net>, Ell <ell@access1.digex.net> wrote:
  14. >Still, without pointers, it [Java] cannot cover all 
  15. >of the ground occupied by C++.
  16. >
  17. >Elliott
  18.  
  19. It's really odd the way word seems to have spread that Java
  20. doesn't have pointers.   It's become the accepted wisdom, yet
  21. it's quite wrong.
  22.  
  23. Java has pointers (it calls them "references") and you can build
  24. dynamic data structures in Java just as well as you can in C or C++.
  25.  
  26. What Java omits is the ability to do arithmetic on pointers or
  27. to do explicit memory deallocation (notorious sources of errors in
  28. both C and C++ -- remember how the example program that came with
  29. Purify was straight out of the standard X11 release?)
  30.  
  31. -- 
  32. Peter van der Linden     linden@eng.sun.com
  33.    Java: as far away from C++ as possible, but no further.
  34.  
  35.